package com.recycle.system.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.recycle.common.annotation.Excel;
import com.recycle.common.core.domain.BaseEntity;

/**
 * 订单资源对象 order_item
 *
 * @author recycle
 * @date 2023-04-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderItemId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 资源类型id */
    @Excel(name = "资源类型id")
    private Long resourceTypeId;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private String resourceType;

    /** 重量 */
    @Excel(name = "重量")
    private BigDecimal weight;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 打包要求 */
    @Excel(name = "打包要求")
    private String packageRequirement;


}
